package com.fingard.dsp.bank.reqrespobj.elecbilltrans.detail;

import com.fingard.dsp.bank.reqrespobj.RequestBase;
import com.fingard.xml.XElement;

public class ReqB105BillEndoSubmitDetail extends RequestBase {
    //    支付请求码
    public String reqSeqID;
    public String busiNo;
    //    银行账号
    public String actNum;
    //    票据币种
    public String billCur;
    //    电子票据序列号
    public String billNo;
    // 票据类型 1-银承 2-商承
    public String billType;
    //    转让标记 1-可再转让 0-不得转让
    public String transFlag;
    //    接收人名称
    public String receName;

    //    接收人账号
    public String receAct;
    //    接收人开户行行名
    public String receBnkName;
    //    接收人开户行行号
    public String receBnkCode;
    //    备注
    public String memo;
    //    票据金额
    public String billAmt;

    //    背书人名称
    public String endoName;
    //    背书人开户行行号
    public String endoBnkCode;
    //背书人区域号码
    public String endoBnkArea;

    //出票人名称
    public String billOpenName;
    //出票人账号
    public String billOpenAcc;
    //出票人银行
    public String billOpenBank;
    //对手开户行城市名称
    public String recCityName;
    //对手账户是否为同行
    public String receSameBank;
    //对方账号直联省市
    public String receBnkArea;
    //申请人组织机构代码
    public String applyCode;

    public XElement srcElement;

    public ReqB105BillEndoSubmitDetail(XElement p_element) throws Exception {
        srcElement = p_element;
        reqSeqID = srcElement.getSingleText("ReqSeqID");
        actNum = srcElement.getSingleText("ActNum");
        busiNo = srcElement.getSingleText("BusiNo");
        billNo = srcElement.getSingleText("BillNo");
        billCur = srcElement.getSingleText("BillCur");
        billType = srcElement.getSingleText("BillType");
        transFlag = srcElement.getSingleText("TransFlag");
        receName = srcElement.getSingleText("ReceName");

        receAct = srcElement.getSingleText("ReceAct");
        receBnkName = srcElement.getSingleText("ReceBnkName");
        receBnkCode = srcElement.getSingleText("ReceBnkCode");

        memo = srcElement.getSingleText("Memo");
        billAmt = srcElement.getSingleText("BillAmt");

        endoName = srcElement.getSingleText("EndoName");
        endoBnkCode = srcElement.getSingleText("EndoBnkCode");
        endoBnkArea = srcElement.getSingleText("EndoBnkArea");

        billOpenName = srcElement.getSingleText("BillOpenName");
        billOpenAcc = srcElement.getSingleText("BillOpenAcc");
        billOpenBank = srcElement.getSingleText("BillOpenBank");
        recCityName = srcElement.getSingleText("RecCityName");
        receSameBank = srcElement.getSingleText("ReceSameBank");
        receBnkArea = srcElement.getSingleText("ReceBnkArea");
        applyCode = srcElement.getSingleText("ApplyCode");

    }
}
